package com.hjh.springboot_jpademo.Repository;

import com.hjh.springboot_jpademo.entity.Provider;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProviderRepository extends JpaRepository<Provider,Integer> {

    public List<Provider> findByProCodeAndAndProName(String proCode,String proName);

    public List<Provider> findByProCodeLike(String proCode);
}
